Replace manual offset calculations by g_utf8_offset_to_pointer().
authorMatthias Clasen <mclasen@redhat.com>
Wed, 2 Nov 2005 05:08:31 +0000 (05:08 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 2 Nov 2005 05:08:31 +0000 (05:08 +0000)
commit6002bc6582859ea2089f81f7bfddb3cb952820c7
tree2f4ac5322779d3cf23e07f2eee21a28d44f2014b
parent2b8bac8304f0e1815b79f31190f8c570687b63a9
Replace manual offset calculations by g_utf8_offset_to_pointer().

2005-11-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets):
* gtk/gtktextiter.c (gtk_text_iter_backward_chars): Replace
manual offset calculations by g_utf8_offset_to_pointer().
(#320360, Paolo Borelli)
ChangeLog
ChangeLog.pre-2-10
gtk/gtktextbtree.c
gtk/gtktextiter.c